DownloadWillBeginEvent

data class DownloadWillBeginEvent(frameId: FrameId, guid: String, url: String, suggestedFilename: String) : Event

Fired when page is about to start a download.

Constructors

DownloadWillBeginEvent
Link copied to clipboard
fun DownloadWillBeginEvent(frameId: FrameId, guid: String, url: String, suggestedFilename: String)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

frameId
Link copied to clipboard
val frameId: FrameId
Id of the frame that caused download to begin.
guid
Link copied to clipboard
val guid: String
Global unique identifier of the download.
suggestedFilename
Link copied to clipboard
val suggestedFilename: String
Suggested file name of the resource (the actual name of the file saved on disk may differ).
url
Link copied to clipboard
val url: String
URL of the resource being downloaded.

Sources

jvm source
Link copied to clipboard